# Must have xclip installed to even show menu.
xclip -h >/dev/null || exit

chosen=$(cat ~/.config/i3/pasta | rofi -dmenu -i)

[ "$chosen" != "" ] || exit

echo "$chosen" | tr -d '\n' | xclip -selection clipboard


